package com.unicom.office.templateproc;

import com.unicom.office.type.CellTypeItem;
import com.unicom.office.type.TypeItem;
import com.unicom.office.runtime.OfficeRuntime;
import com.unicom.office.unit.CellUnit;
import com.unicom.office.unit.OfficeUnit;

import java.util.List;

public class CellStyleProc extends TemplateProc {
    public void run(OfficeUnit unit, List<Object> params, OfficeRuntime officeRuntime) {
        CellUnit cellUnit = (CellUnit) unit;
        // 设置cellUnit样式
        // ......
    }

    public void runForMatch(OfficeUnit unit, List<Object> params, OfficeRuntime officeRuntime) {

    }

    public String getName() {
        return "cellStyle";
    }

    public TypeItem getType() {
        return CellTypeItem.INSTANCE;
    }
}
